package edu.scau.pos.vo;

import edu.scau.pos.domain.Product;
import lombok.Data;

import java.io.Serializable;

@Data
public class SaleItemVo implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long saleItemId;
    private String productSn;
    private String productName;
    private int quantity;
    //对应商品总价
    private double amount;
    private int status;
    private String size;
    private String  color;
    private double price;

    public SaleItemVo(Long saleItemId, String productSn, String productName, int quantity, double amount, int status, String size, String color, double price) {
        this.saleItemId = saleItemId;
        this.productSn = productSn;
        this.productName = productName;
        this.quantity = quantity;
        this.amount = amount;
        this.status = status;
        this.size = size;
        this.color = color;
        this.price = price;
    }

    public SaleItemVo() {
    }
}
